package cn.com.api.entity.base;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

// T_products Entity

/// <summary>
/// Datetime: 2016/1/23 14:31:01		
/// Genegrated automatically. Don't write your logic code here.	
/// the entity of table T_products.
/// </summary>
  
public class T_productsBase implements Serializable{

    private static final long serialVersionUID = 00L;

	// Genegrated Automatically.
	
    //货品id Product_id
    private Long product_id;
    
    //商品id Goods_id
	private Long goods_id;
    
    //货品条码SKU代码 Sku_code
    private String sku_code;
    
    //erp中的商品条码 Erp_barcode
    private String erp_barcode;
    
    //erp中的货号 Erp_product_id
    private String erp_product_id;
    
    //erp中的商品编码 Erp_goods_sn
    private String erp_goods_sn;
    
    //市场价 Mkt_price
    private BigDecimal mkt_price;
    
    //价格 Price
    private BigDecimal price;
    
    //规格(系统规格表里的规格) Spec
    private String spec;
    
    //货品启用的规格 Pdt_spec
    private String pdt_spec;
    
    //库存 Store
    private Integer store;
    
    //货品单位 Unit
    private String unit;
    
    //是否删除 1：已删除 Is_delete
    private Integer is_delete;
    
    //县市分站编号 City_id
    private Integer city_id;
    
    //商户编号 Shop_id
    private Integer shop_id;
    
    //新建时间 Create_time
    private String create_time;
    
    //更新时间 Update_time
    private String update_time;
    
    //描述 Description
    private String description;
    
    //商户商品状态 0:未发布 1:在售中 2:已下架 Status
    private Integer status;
    
    //商品已售数量 Sold
    private Integer sold;
    
    //是否置顶 Is_top
    private Integer is_top;
    
    //来源 erp sys Source
    private String source;
    
   
    
	public T_productsBase(){	
        super();
    }
	
	public T_productsBase(Long product_id, Long goods_id, String sku_code, String erp_barcode, String erp_product_id, String erp_goods_sn, BigDecimal mkt_price, BigDecimal price, String spec, String pdt_spec, Integer store, String unit, Integer is_delete, Integer city_id, Integer shop_id, String create_time, String update_time, String description, Integer status, Integer sold, Integer is_top, String source){	
		this.product_id = product_id;
		this.goods_id = goods_id;
		this.sku_code = sku_code;
		this.erp_barcode = erp_barcode;
		this.erp_product_id = erp_product_id;
		this.erp_goods_sn = erp_goods_sn;
		this.mkt_price = mkt_price;
		this.price = price;
		this.spec = spec;
		this.pdt_spec = pdt_spec;
		this.store = store;
		this.unit = unit;
		this.is_delete = is_delete;
		this.city_id = city_id;
		this.shop_id = shop_id;
		this.create_time = create_time;
		this.update_time = update_time;
		this.description = description;
		this.status = status;
		this.sold = sold;
		this.is_top = is_top;
		this.source = source;
	}
	
    // Product_id
    public Long getProduct_id() {
		return this.product_id;
	}	
	
	public void setProduct_id(Long product_id) {
		this.product_id = product_id;
	}
    
    // Goods_id
    public Long getGoods_id() {
		return this.goods_id;
	}	
	
	public void setGoods_id(Long goods_id) {
		this.goods_id = goods_id;
	}
    
    // Sku_code
    public String getSku_code() {
		return this.sku_code;
	}	
	
	public void setSku_code(String sku_code) {
		this.sku_code = sku_code;
	}
    
    // Erp_barcode
    public String getErp_barcode() {
		return this.erp_barcode;
	}	
	
	public void setErp_barcode(String erp_barcode) {
		this.erp_barcode = erp_barcode;
	}
    
    // Erp_product_id
    public String getErp_product_id() {
		return this.erp_product_id;
	}	
	
	public void setErp_product_id(String erp_product_id) {
		this.erp_product_id = erp_product_id;
	}
    
    // Erp_goods_sn
    public String getErp_goods_sn() {
		return this.erp_goods_sn;
	}	
	
	public void setErp_goods_sn(String erp_goods_sn) {
		this.erp_goods_sn = erp_goods_sn;
	}
    
    // Mkt_price
    public BigDecimal getMkt_price() {
		return this.mkt_price;
	}	
	
	public void setMkt_price(BigDecimal mkt_price) {
		this.mkt_price = mkt_price;
	}
    
    // Price
    public BigDecimal getPrice() {
		return this.price;
	}	
	
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
    
    // Spec
    public String getSpec() {
		return this.spec;
	}	
	
	public void setSpec(String spec) {
		this.spec = spec;
	}
    
    // Pdt_spec
    public String getPdt_spec() {
		return this.pdt_spec;
	}	
	
	public void setPdt_spec(String pdt_spec) {
		this.pdt_spec = pdt_spec;
	}
    
    // Store
    public Integer getStore() {
		return this.store;
	}	
	
	public void setStore(Integer store) {
		this.store = store;
	}
    
    // Unit
    public String getUnit() {
		return this.unit;
	}	
	
	public void setUnit(String unit) {
		this.unit = unit;
	}
    
    // Is_delete
    public Integer getIs_delete() {
		return this.is_delete;
	}	
	
	public void setIs_delete(Integer is_delete) {
		this.is_delete = is_delete;
	}
    
    // City_id
    public Integer getCity_id() {
		return this.city_id;
	}	
	
	public void setCity_id(Integer city_id) {
		this.city_id = city_id;
	}
    
    // Shop_id
    public Integer getShop_id() {
		return this.shop_id;
	}	
	
	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}
    
    // Create_time
    public String getCreate_time() {
		return this.create_time;
	}	
	
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
    
    // Update_time
    public String getUpdate_time() {
		return this.update_time;
	}	
	
	public void setUpdate_time(String update_time) {
		this.update_time = update_time;
	}
    
    // Description
    public String getDescription() {
		return this.description;
	}	
	
	public void setDescription(String description) {
		this.description = description;
	}
    
    // Status
    public Integer getStatus() {
		return this.status;
	}	
	
	public void setStatus(Integer status) {
		this.status = status;
	}
    
    // Sold
    public Integer getSold() {
		return this.sold;
	}	
	
	public void setSold(Integer sold) {
		this.sold = sold;
	}
    
    // Is_top
    public Integer getIs_top() {
		return this.is_top;
	}	
	
	public void setIs_top(Integer is_top) {
		this.is_top = is_top;
	}
    
    // Source
    public String getSource() {
		return this.source;
	}	
	
	public void setSource(String source) {
		this.source = source;
	}
    
    
    

}	


	
